package com.example.service.impl;


import com.example.Bean.po.TeacherCourse;
import com.example.Dao.TeacherCourseDao;
import com.example.service.ITeacherCourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherCourseService implements ITeacherCourseService {
	@Autowired
	TeacherCourseDao teacherCourseDao;

	@Override
	public int update(TeacherCourse teacherCourse) {
		return teacherCourseDao.updateByPrimaryKey(teacherCourse);
	}
}
